package errno

var (
	// Common errors
	OK                  = &Errno{Code: 200, Message: "OK"}
	InternalServerError = &Errno{Code: 10001, Message: "网络服务异常"}
	ErrDatabase         = &Errno{Code: 10002, Message: "数据库异常"}

	// 用户输入错误
	// 注册登录的响应码
	ErrUserNotFound = &Errno{Code: 30101, Message: "用户不存在"}
	ErrUsernameExists = &Errno{Code: 30102, Message: "用户名已存在"}
	ErrEmailExists = &Errno{Code: 30103, Message: "邮箱已存在"}



)